package com.dx.financehy.modules.security.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * <pre>
 * @描述：
 * @作者：CLD
 * @创建时间：2022-03-22 15:42
 * </pre>
 **/
@ApiModel(value = "忘记密码DTO")
@Data
public class UpdatePasswordDTO {

    @ApiModelProperty(value = "手机号", required = true)
    @NotBlank(message = "手机号")
    private String phone;

    @ApiModelProperty(value = "短信流水号", required = true)
    @NotBlank(message = "短信流水号不能为空")
    private String uuid;

    @ApiModelProperty(value = "短信验证码", required = true)
    @NotBlank(message = "短信验证码不能为空")
    private String code;

    @ApiModelProperty(value = "密码，需要加密")
    private String password;

}
